"""
@name : 字典练习--西游记
@author : wangaokang
@projectname: pythonProject6
"""
company = {'y':'2','BOSS':'唐僧','CTO':'悟空','CFO':'八戒','搬砖':'沙僧','苦力':'白龙马'}

print('CTO是{CTO}'.format(**company))
print('BOSS是{BOSS}'.format(**company))
print('所有人物信息有{company}',company)

name = input("请输入你要判断的人在不在：")

if name in company.values():
    print(f'{name}在company中')

else:
    print(f'{name}不在里面')